package com.chuangjiangx.member.stored.ddd.application.command;

import lombok.Data;

import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * @author cj-ch
 * @date 2018/4/4 下午3:51
 */
@Data
public class MbrQuickPayCommand {

    /**
     * 授权付款码,会员付款码固定22长度
     * 与会员Id和会员手机后4位互斥
     */
    private String authCode;

    /**
     * 会员Id,与会员付款码互斥
     */
    private Long memberId;
    /**
     * 会员手机后4位,与会员Id一起使用,与会员付款码互斥
     */
    private String memberMobileLast4;

    /**
     * 付款金额
     */
    private BigDecimal amount;

    /**
     * 卡券码
     */
    private String couponCode;

    /**
     * 支付终端
     */
    private Integer payTerminal;

    /**
     * 商户
     */
    private Long merchantId;

    private Long merchantUserId;
    private String merchantAddress;

    private Long storeId;
    private Long storeUserId;
    private String storeAddress;
}
